package com.css.zfzx.sjcj.modules.hddcActiveFault.repository;

import com.css.zfzx.sjcj.modules.hddcActiveFault.repository.entity.HddcActivefaultEntity;
import com.css.zfzx.sjcj.modules.hddcActiveFault.viewobjects.HddcActivefaultQueryParams;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author zyb
 * @date 2020-11-30
 */
public interface HddcActivefaultNativeRepository<T> {

    <S extends T> Iterable<S> batchSave(Iterable<S> var1);

    Page<HddcActivefaultEntity> queryHddcActivefaults(HddcActivefaultQueryParams queryParams, int curPage, int pageSize,String sort,String order);

    List<HddcActivefaultEntity> exportYhDisasters(HddcActivefaultQueryParams queryParams);
}
